package edu.jamestang.yeb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.jamestang.yeb.entity.MenuRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author JamesTang
 * @date 2021/12/16 0:32
 */
@Mapper
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    /**
     * Update Role menu
     * @param rid
     * @param mIds
     * @return
     */
    Integer insertRecord(@Param("rid") Integer rid, @Param("mIds") Integer[] mIds);
}
